<%@ include file="../include.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Login page</title>
</head>
<body>


<!--<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%-->
<form action="j_spring_security_check" method="POST"><c:if
	test="${not empty param.login_error}">
	<span class="error-msg"> <fmt:message key="message.login.failed" />
	<br />
	</span>
</c:if>
<h4>Please Enter Your Logon Information</h4>
<table cellspacing="0" align="center">
	<tr>
		<td>ID:</td>
		<td><input type="text" name="j_Id" size="30" /></td>
	</tr>
	<tr>
		<td>Login ID:</td>
		<td class="inp"><input type="text" name="j_username" size="30" />
		</td>
	</tr>
	<tr>
		<td>Password:</td>
		<td><input type="password" name="j_password" /></td>
	</tr>
	<tr>
		<td><input value="Log On >>" type="submit"></td>
	</tr>
</table>
</form>

<!--<form action="j_spring_security_check">
	<label for="j_username">Username</label>
	<input type="text" name="j_username" 
		id="j_username" 
	<c:if test="${not empty param.login_error}">value='<--%= session.getAttribute(AuthenticationProcessingFilter.SPRING_SECURITY_LAST_USERNAME_KEY) %-->
'
<!-- /c:if>/-->
<!-- br/>
	<label for="j_password">Password</label>
	<input type="password" name="j_password" id="j_password"/>
	<br/>
	<input type='checkbox' name='_spring_security_remember_me'/> Remember me on this computer.
	<br/>
	<input type="submit" value="Login"/>
</form>

<form method="POST" action="addQuestion.htm">
<table>
	<tr>
		<td>Welcome to Stack Overflow<br>
		</td>
		<td>
			<input type="text" name="userName">
			<input type="password" name="password">
		</td>
	</tr>
	<tr>
		<td><input type="submit" value="submit"></td>
	</tr>
</table>
</form>

-->
</body>
</html>